<?

/*
$queryHC="SELECT PesoActual,Altura, Pulso, EstadoConciencia,ColumnaVertebral,EjesOseos,
MiembrosSuperiores,MiembrosInferiores,GlasglowOcular,GlasglowMotor,GlasglowVerbal,Conducta,
Lenguaje,ParesCraneales,ReflejoFotomotor,ReflejoAcomodacion, ReflejoOsteotendinoso,Motricidad,
Sensibilidad,Babinski,Romberg,RigidezNuca,FondoDeOjo,DerivacionMedica1,DerivacionMedica2";
*/



//echo "Peso Actual: '".$resultadoHC['PesoActual']."'";
?>

<table width="100%" bgcolor="" >
    <tr>
        <td width="100%" valign="" height="" style="">
            <table width="100%"  >
                <tr>
                    <td width="12%" align="right" bgcolor="#5882FA" height="30px">
                        <font color="white"> <strong>Hto: </strong></font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                       <font  color="2F86B1"> <?echo $resultadoHC['Hto']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>Leucocitos: </strong></font>
                    </td>
                    <td width="1%">
                    </td>                    
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['Leucocitos']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>Cayados: </strong></font>
                    </td>
                    <td width="1%"></td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['Cayados']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>Glucemia: </strong></font>
                    </td>
                    <td width="1%"></td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['Glucemia']; ?> </font>
                    </td>                    
                    
                </tr>
                <tr>
                    <td width="12%" align="right" bgcolor="#5882FA" height="30px">
                        <font color="white"> <strong>Segmentados: </strong></font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                       <font  color="2F86B1"> <?echo $resultadoHC['Segmentados']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>Eosin&oacute;filos: </strong></font>
                    </td>
                    <td width="1%">
                    </td>                    
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['Eosinofilos']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>Linfocitos: </strong></font>
                    </td>
                    <td width="1%"></td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['Linfocitos']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>Monocitos: </strong></font>
                    </td>
                    <td width="1%"></td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['Monocitos']; ?> </font>
                    </td>                    
                    
                </tr>     
                <tr>
                    <td width="12%" align="right" bgcolor="#5882FA" height="30px">
                        <font color="white"> <strong>Vcm: </strong></font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                       <font  color="2F86B1"> <?echo $resultadoHC['Vcm']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>Plaquetas: </strong></font>
                    </td>
                    <td width="1%">
                    </td>                    
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['Plaquetas']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>Urea: </strong></font>
                    </td>
                    <td width="1%"></td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['Urea']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>Sodio: </strong></font>
                    </td>
                    <td width="1%"></td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['Sodio']; ?> </font>
                    </td>                    
                    
                </tr>                     
                <tr>
                    <td width="12%" align="right" bgcolor="#5882FA" height="30px">
                        <font color="white"> <strong>Creatina: </strong></font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                       <font  color="2F86B1"> <?echo $resultadoHC['Creatina']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>LDL: </strong></font>
                    </td>
                    <td width="1%">
                    </td>                    
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['LDL']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>HDL: </strong></font>
                    </td>
                    <td width="1%"></td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['HDL']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>Trigliceridos: </strong></font>
                    </td>
                    <td width="1%"></td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['Trigliceridos']; ?> </font>
                    </td>                    
                    
                </tr> 
                <tr>
                    <td width="12%" align="right" bgcolor="#5882FA" height="30px">
                        <font color="white"> <strong>Potasio: </strong></font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                       <font  color="2F86B1"> <?echo $resultadoHC['Potasio']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>Cloro: </strong></font>
                    </td>
                    <td width="1%">
                    </td>                    
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['Cloro']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>Orina: </strong></font>
                    </td>
                    <td width="1%"></td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['Orina']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong> </strong></font>
                    </td>
                    <td width="1%"></td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"> </font></font>
                    </td>                    
                    
                </tr>
            </table>
        </td>
    </tr>

    <tr>
        <td>
            <hr width="75%"  />
        </td>
    </tr>
    
    <tr>
        <td width="100%" valign="" height="" style="">
            <table width="100%"  >
                <tr>
                    <td width="12%" align="right" bgcolor="#5882FA" height="30px">
                        <font color="white"> <strong>AntiGD1a: </strong></font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                       <font  color="2F86B1"> <?echo $resultadoHC['Antigd1a']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>AntiGD1b: </strong></font>
                    </td>
                    <td width="1%">
                    </td>                    
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['Antigd1b']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>AntiGD3: </strong></font>
                    </td>
                    <td width="1%"></td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['Antigd3']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>AntiGQ1b: </strong></font>
                    </td>
                    <td width="1%"></td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['Antigq1b']; ?> </font>
                    </td>                    
                    
                </tr> 
                <tr>
                    <td width="12%" align="right" bgcolor="#5882FA" height="30px">
                        <font color="white"> <strong>AntiGT1b: </strong></font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                       <font  color="2F86B1"> <?echo $resultadoHC['Antigt1b']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>AntiGM1: </strong></font>
                    </td>
                    <td width="1%">
                    </td>                    
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['Antigm1']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>AntiGM2: </strong></font>
                    </td>
                    <td width="1%"></td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['Antigm2']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>AntiGM3: </strong></font>
                    </td>
                    <td width="1%"></td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['Antigm3']; ?> </font>
                    </td>                    
                    
                </tr> 
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <hr width="75%"  />
        </td>
    </tr>
    <tr>
        <td width="100%" valign="" height="" style="">
            <table width="100%"  >
                <tr>
                    <td width="12%" align="right" bgcolor="#5882FA" height="30px">
                        <font color="white"> <strong>Prote&iacute;na Total: </strong></font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                       <font  color="2F86B1"> <?echo $resultadoHC['ProteinaTotal']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>Glucosa: </strong></font>
                    </td>
                    <td width="1%">
                    </td>                    
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['Glucosa']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>Gama Globulina: </strong></font>
                    </td>
                    <td width="1%"></td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['GamaGlobulina']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>Apariencia LDR: </strong></font>
                    </td>
                    <td width="1%"></td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"><?echo $resultadoHC['AparienciaLDR']; ?> </font>
                    </td>                    
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td width="100%" valign="" height="" style="">
            <table width="100%"  >
                <tr>
                    <td>
                        <hr width="75%"  />
                    </td>
                </tr> 
            </table>
        </td>
    </tr>                
    <tr>
        <td width="100%" valign="" height="" style="">
            <table width="100%"  >              
                <tr>
                    <td width="12%" align="right" bgcolor="#5882FA" height="30px">
                        <font color="white"> <strong>AGCML: </strong></font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                       <font  color="2F86B1"> <?echo $resultadoHC['AGCML']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong> </strong></font>
                    </td>
                    <td width="1%">
                    </td>                    
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong> </strong></font>
                    </td>
                    <td width="1%"></td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>  </strong></font>
                    </td>
                    <td width="1%"></td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1">  </font>
                    </td>                    
                </tr> 
            </table>
        </td>
    </tr>     
    <tr>
        <td width="100%" valign="" height="" style="">
            <table width="100%"  >  
                <tr>
                    <td>
                        <hr width="75%"  />
                    </td>
                </tr>
                
             </table>
        </td>
    </tr>
    <tr>
        <td width="100%" valign="" height="" style="">
            <table width="100%"  >     
                <tr>
                    <td width="12%" align="right" bgcolor="#5882FA" height="30px">
                        <font color="white"> <strong> <?echo $resultadoHC['OtrosEstudiosLab1']; ?> </strong></font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                       <font  color="2F86B1"> <?echo $resultadoHC['ResultadoOtrosLab1']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>  <?echo $resultadoHC['OtrosEstudiosLab2']; ?></strong></font>
                    </td>
                    <td width="1%">
                    </td>                    
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1">  <?echo $resultadoHC['ResultadoOtrosLab2']; ?> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong> </strong></font>
                    </td>
                    <td width="1%"></td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1"> </font>
                    </td>
                    <td width="1%">
                    </td>
                    <td width="12%" align="right" bgcolor="#5882FA">
                         <font  color="white"> <strong>  </strong></font>
                    </td>
                    <td width="1%"></td>
                    <td width="10%" align="left" bgcolor="D3F0FF">
                         <font  color="2F86B1">  </font>
                    </td>                    
                </tr>
                  
                <tr>
                    <td width="100%">
                        <hr width="75%"  />
                    </td>
                </tr>
                <tr>
                    <td width="100%" height="15px">
                    </td>
                </tr>
                <tr>
                    <td width="100%" >
                        <table width="100%">
                            <tr>
                                <td>
                                    <font color="2F86B1">Archivos de Laboratorio</font>
                                </td>
    
                            </tr>
                        </table>   
                    </td>           
                </tr>    
                <?
                    if($resultadoHC['ExamenClinicoDigital1']!=null){
                ?>        
                <tr>
                    <td width="100%" >
                        <table width="100%">
                            <tr>
                                <td>
                                      <a href="<? echo $resultadoHC['ExamenClinicoDigital1']; ?>"> <img name=""  style="width: 200px; height: 100px;" src="<? echo $resultadoHC['ExamenClinicoDigital1']; ?>" /> </a>
                                </td>
    
                            </tr>
                        </table>   
                    </td>           
                </tr>
                <?     
                }else{
                ?>                    
                <tr>
                    <td width="100%" >
                        <table width="100%">
                            <tr>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                     <font color="2F86B1"> -Sin archivos adjuntos </font> 
                                </td>
    
                            </tr>
                        </table>   
                    </td>           
                </tr>    
                <?} ?>                        
                                         
            </table>
        </td>
    </tr>
    
</table>